package whf.framework.log;

/**
 * @author wanghaifeng
 *
 */
public class Log {
	private org.apache.commons.logging.Log log;

	/**
	 * @param log
	 */
	public Log(org.apache.commons.logging.Log log) {
		this.log = log;
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 * @param arg1
	 */
	public void debug(Object target, Throwable arg1) {
		log.debug(target, arg1);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 */
	public void debug(Object target) {
		log.debug(target);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 * @param arg1
	 */
	public void error(Object target, Throwable arg1) {
		log.error(target, arg1);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 */
	public void error(Object target) {
		log.error(target);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 * @param arg1
	 */
	public void fatal(Object target, Throwable arg1) {
		log.fatal(target, arg1);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 */
	public void fatal(Object target) {
		log.fatal(target);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 * @param arg1
	 */
	public void info(Object target, Throwable arg1) {
		log.info(target, arg1);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 */
	public void info(Object target) {
		log.info(target);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @return
	 */
	public boolean isDebugEnabled() {
		return log.isDebugEnabled();
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @return
	 */
	public boolean isErrorEnabled() {
		return log.isErrorEnabled();
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @return
	 */
	public boolean isFatalEnabled() {
		return log.isFatalEnabled();
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @return
	 */
	public boolean isInfoEnabled() {
		return log.isInfoEnabled();
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @return
	 */
	public boolean isTraceEnabled() {
		return log.isTraceEnabled();
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @return
	 */
	public boolean isWarnEnabled() {
		return log.isWarnEnabled();
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 * @param arg1
	 */
	public void trace(Object target, Throwable arg1) {
		log.trace(target, arg1);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 */
	public void trace(Object target) {
		log.trace(target);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 * @param arg1
	 */
	public void warn(Object target, Throwable arg1) {
		log.warn(target, arg1);
	}

	/**
	 * @modify wanghaifeng Oct 7, 2006 2:31:34 PM
	 * @param target
	 */
	public void warn(Object target) {
		log.warn(target);
	}

}
